package com.ygqh.baby.service;
import java.util.List;
import java.util.Map;

import  com.ygqh.baby.ao.QueryInfo;
import  com.ygqh.baby.ao.ResultSet;
import  com.ygqh.baby.po.YgProductBookDetail;

public interface YgProductBookDetailService {

    
    List<YgProductBookDetail> find();
	int findCount();
	YgProductBookDetail findById(Long id);
	int deleteSoft(Long[] ids);
	int deleteSoft(Long id);
	int save(YgProductBookDetail ygProductBookDetail );
	int update(YgProductBookDetail ygProductBookDetail);
	int saveOrUpdate(YgProductBookDetail ygProductBookDetail);
	ResultSet<YgProductBookDetail> search(QueryInfo queryInfo,String q);
	List<Map<String, Object>> search(Long bookId);
	
    
}
